package com.uzai.console.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 转链联盟账号关联表
 *
 * @author mingyang.chen create in 2022/11/4 17:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tl_league_setting_rel")
public class TlLeagueSettingRelDo implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 运营商id
     */
    @TableField(value = "mer_id")
    private Long merId;

    /**
     * 平台
     */
    @TableField(value = "platform")
    private Integer platform;

    /**
     * 转链联盟配置ID
     */
    @TableField(value = "tl_league_setting_id")
    private Long tlLeagueSettingId;

    /**
     * 联盟账号ID
     */
    @TableField(value = "league_account_id")
    private Long leagueAccountId;

    private static final long serialVersionUID = 1L;

    /**
     * 扩展json
     */
    @TableField(value = "ext")
    private String ext;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Integer createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Integer updateTime;
    /**
     * 关联联盟账号类型. 0: 拼多多(多多进宝账号), 抖音(自营大人账号), 1: 拼多多(退老板账号), 抖音(官方共享账号)
     */
    @TableField(value = "account_type")
    private Integer accountType;
}